<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>CSS Test: height:auto on region box with top/bottom layout dependencies</title>
    <style>
    /*<![CDATA[*/
body {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#container {
    position: relative;
    border: 1px solid #a0a0a0;
}

#rA, #rB {
    border: 3px solid #46A4E9;
    background: white;
}

#rA {
    top: 0;
    bottom: 0;
    width: 100px;
    position: absolute;
}

#rB {
    width: 200px;
    height: 300px;
    box-sizing: border;
    margin-left: 120px;
    z-index: 1;
}
/*]]>*/
</style>
</head>
<body>
    <p>You should see a 300px hight gray border box with two blue boxes to the left tightly fitting
        along the y-axis. The leftmost box should contain a gray box that also tightly fit along the
        y-axis. The rightmost box should be empty.</p>

    <div id="container">
        <div id="rA">
            <div>
                <div style="width:50px;height: 300px; background: #a0a0a0;"></div>
            </div>
        </div>
        <div id="rB"></div>
    </div></body>
</html>